using System;
using System.Collections.Generic;
using System.Text;

namespace Accio {
	public class Mailbox {
		private MailboxType type;
		private string username = "";
		private string password = "";

		public string DisplayMember {
			get {
				return username + " [" + type.DisplayName + "]";
			}
		}

		public string Username {
			get {
				return username;
			}
			set {
				username = value;
			}
		}

		public string Password {
			get {
				return password;
			}
			set {
				password = value;
			}
		}

		public MailboxType Type {
			get {
				return type;
			}
			set {
				type = value;
			}
		}

		public Mailbox(MailboxType type, string username, string password) {
			this.type = type;
			this.username = username;
			this.password = password;
		}

		public Mailbox() {
		}
	}
}
